package com.sorokin.common;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean(name = "PatientBean")
@SessionScoped
public class PatientBean {
	/**
	 * 
	 */
	private String name;
	private String surname;
	private String diagnosis;
	private boolean isIll;

	public PatientBean() {
		this.name = "";
		this.surname = "";
		this.diagnosis = "";
		this.isIll = true;
	}

	public PatientBean(String inputName, String inputSurname) {
		this.name = inputName;
		this.surname = inputSurname;
		this.diagnosis = "";
		this.isIll = true;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public String getDiagnosis() {
		return diagnosis;
	}

	public void setDiagnosis(String diagnosis) {
		this.diagnosis = diagnosis;
	}

	public boolean isIll() {
		return isIll;
	}

	public void setIll(boolean isIll) {
		this.isIll = isIll;
	}

}
